<%@page import="entity.User"%>
<%@page import="java.util.List"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
</head>
<body>
	<ul>
		<c:forEach var="u" items="${users}">
			<li>${u.name}</li>
		</c:forEach>
	</ul>
	<hr>

	<ul>
		<%
			List<User> list = (List<User>) request.getAttribute("users");
			for (User u : list) {
		%>

		<li><%=u.getName()%></li>
		<%
			}
		%>
	</ul>
</body>
</html>